//
//  CollocateFavoriteItemCell.m
//  SecondPage
//
//  Created by xiong qi on 13-5-2.
//  Copyright (c) 2013年 winston. All rights reserved.
//

#import "CollocateFavoriteItemCell.h"

@implementation CollocateFavoriteItemCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 180, 20)];
        titleLabel.textAlignment = NSTextAlignmentLeft;
        titleLabel.textColor = [UIColor colorWithRed:0.541 green:0.541 blue:0.541 alpha:1.0];
        titleLabel.font = [UIFont fontWithName:@"Arial-BoldMT" size:13];
        [titleLabel setBackgroundColor:[UIColor clearColor]];
        [self addSubview:titleLabel];
        [titleLabel release];
    }
    return self;
}

-(void)LoadCellData:(NSObject *)obj
{
    titleLabel.text = (NSString *)obj;
}

@end
